import router from './index'

export function toAnimeMain(id,ep,type='push') {
    return router[type]({
        name:'Video',
        params: {
            id:id
        },
        query: {
            ep:ep
        }
    })
}